<?php

declare (strict_types=1);

namespace app\store\model\agent;

use app\common\model\agent\Rel as AgentRel;
use app\store\model\User;
use think\model\relation\HasOne;


/**
 * 用户绑定代理模型类
 * Class User
 * @package app\common\model
 */
class Rel extends AgentRel
{
   public function user():HasOne
   {
       return $this->hasOne(User::class,'user_id','user_id');
   }

    public function playerUser():HasOne
    {
        return $this->hasOne(User::class,'user_id','user_id');
    }

}
